package com.rzn.reading.model.dto.note;

import com.rzn.reading.dto.PageableRequestDTO;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class QueryNoteDTO extends PageableRequestDTO {
    @NotNull
    @ApiParam("某个文献的笔记")
    private Integer literatureId;

    @ApiParam("个人或所有人的笔记")
    private Integer userId;
    @ApiParam("公开或私有的笔记")
    private Integer state;
}
